#每天进步和工作日进步的比较
def dayUP(df):
    dayup = 1
    for i in range(365):
        if i % 7 in [6,0]:
            dayup *= (1-0.01)
        else:
            dayup *= (1+df)
    return dayup
dayfactor = 0.01
while dayUP(dayfactor)<37.78:#每天进步1%一年以后的进步量
    dayfactor += 0.001
print("工作日的努力参数是:{:.3f}".format(dayfactor))